	// 引入封装请求
	const {
	  request
	} = require('./request')
	// 基于业务封装
	module.exports = {
	  // 更新用户信息
	  setUserInfo: (params) => {
	    return request('user/setUserInfo', "post", params)
    },
    // 修改昵称
	  editUserName: (params) => {
	    return request('user/editUserName', "post", params)
    },
    // 获取客服电话
    getserviceMobile:(params)=>{
	    return request('user/serviceMobile', "get", params)
    },
    // 获取用户设备数量
	  getDeviceNum: (params) => {
	    return request('user/getDeviceNum', "post", params)
    },
    // 获取用户信息
    getUserInfo: (params) => {
	    return request('user/getUserInfo', "post", params)
	  },
	  // 首页
	  getAllDevice: (params) => {
	    return request('user/allDevice', "post", params)
	  },
	  // 绑定手机号
	  bindMobile: (params) => {
	    return request('user/bindMobile', "post", params)
	  },
	  // 获取动态列表
	  getDeviceTrends: (params) => {
	    return request('user/getDeviceTrends', "get", params)
	  },
	  // 修改设备名
	  editDeviceName: (params) => {
	    return request('user/editDeviceName', "post", params)
	  },
	  // 获取设备信息
	  getDevice: (params) => {
	    return request('user/getDevice', "post", params)
	  },
	  // 删除设备
	  delDevice: (params) => {
	    return request('user/delDevice', "post", params)
	  },
	  // 设置开关
	  editModel: (params) => {
	    return request('user/editModel', "post", params)
    },
	  // 添加设备
	  addDevice: (params) => {
	    return request('user/addDevice', "post", params)
    },
	  // 设备列表
	  deviceList: (params) => {
	    return request('user/deviceList', "post", params)
    },
    
	  // 获取通风设置
	  getventilateset: (params) => {
	    return request('getventilateset', "post", params)
	  },
	  // 修改通风设置
	  ventilateset: (params) => {
	    return request('ventilateset', "post", params)
	  },
	  // 获取加湿设置
	  gethumidificationset: (params) => {
	    return request('gethumidificationset', "post", params)
	  },
	  // 修改加湿设置
	  humidificationset: (params) => {
	    return request('humidificationset', "post", params)
	  },
	  // 获取自定义设置
	  gettemperaturecontrolset: (params) => {
	    return request('gettemperaturecontrolset', "post", params)
	  },
	  // 修改自定义设置
	  temperaturecontrolset: (params) => {
	    return request('temperaturecontrolset', "post", params)
	  },
	  // 设置当前灯光亮度
	  setnowled: (params) => {
	    return request('setnowled', "post", params)
	  },
	  // 设置别名
	  setdeviceidname: (params) => {
	    return request('setdeviceidname', "post", params)
	  },
	  // 删除设备
	  deldevice: (params) => {
	    return request('deldevice', "post", params)
    },
	}